feat(slimctl): add Claude Code agent skill#1644
Open
Tehsmash wants to merge 2 commits into
Open
Conversation
Contributor
|
The latest Buf updates on your PR. Results from workflow ci-buf / buf (pull_request).
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Add a Claude Code skill for slimctl under skills/slimctl/SKILL.md. The skill provides a concise command reference, route format docs, global flag reference, and common workflows (mTLS setup, route add, channel management). Includes an explicit warning that tls-insecure defaults to true and must be set to false when using TLS certificates. The release workflow is extended with a publish-skill job that packages the skill directory into a slimctl.skill zip artifact and uploads it to the GitHub release alongside the binary tarballs. Refs: #slimctl-agent-skill Signed-off-by: Sam Betts <1769706+Tehsmash@users.noreply.github.com>
Pass github.ref_name through an env var rather than interpolating it directly into the shell command, as flagged by zizmor. Signed-off-by: Sam Betts <1769706+Tehsmash@users.noreply.github.com>
5c4c5af to
e9dfa66
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a Claude Code skill for slimctl so that AI agents and Claude Code users get accurate, fast answers when working with slimctl commands — without having to read source code or guess at syntax.
The skill (
skills/slimctl/SKILL.md) provides:node,controller,config,slim,version)org/namespace/agentname/agentid)tls-insecuredefaults totrueand must be explicitly set tofalsewhen configuring TLS certificates (without this, cert files are silently ignored)The skill was evaluated against 5 test cases comparing with-skill vs without-skill responses. Key finding: with-skill responses are ~2× faster (23s vs 48s avg) and use ~2× fewer tokens (15k vs 33k avg), since without-skill agents fall back to reading source code. One bug was found and fixed during evals — the initial draft incorrectly said TLS was "implicitly enabled" by cert files.
The release workflow (
.github/workflows/release-slimctl.yaml) gains apublish-skilljob that packagesskills/slimctl/into aslimctl.skillzip artifact and uploads it to the GitHub release alongside the binary tarballs.Type of Change
Checklist